<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="java.util.*" %>
<%@ page import="com.ionglobal.db.*" %>
<%@ page import="com.ionglobal.lib.*" %>
<%@ page import="com.ionglobal.cms.*" %>
<%@ page import="com.ionglobal.misc.*" %>
<%@ include file="../check_right.jsp" %>
<%@ include file="../init_include.jsp" %>
<%	
	Integer id;
	Integer roleNum;
	
		roleNum=new Integer(request.getParameter("roleNum"));
		out.println("roleNum"+roleNum+"<br>");
		
		for (int i=0;i<roleNum.intValue();i++)
		{
			
			if (request.getParameter("checkbox"+i)!=null)
			{
				id=new Integer(request.getParameter("checkbox"+i));
				SysRole.deleteRole(dbi,id.intValue());
				out.println("delete "+id+"<br>" );
			}
		}
		response.sendRedirect("sysRoleManager.jsp");
%>	
<%@ include file="../init_free.jsp" %>
